package com.wms.wms.mapper;

import com.wms.wms.entity.InStock;
import com.wms.wms.entity.OutStock;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.sql.Date;
import java.util.ArrayList;

@Component
@Mapper
public interface InStockMapper {
    Integer queryProductionByParam(@Param("id") String id, @Param("b") Date b, @Param("e") Date e);
    Integer queryProductionByDate(@Param("b") Date b, @Param("e") Date e);

    ArrayList<InStock> queryByIdAndDate(@Param("id") String id, @Param("b") Date b, @Param("e") Date e);

    ArrayList<InStock> queryByDate(@Param("id") String id,@Param("b") Date b,@Param("e") Date e);


}
